package com.warehouse.dto;

import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class OrderDTO {
    private Long id;
    private Long productName;
    private String orderNumber;
    private String customer;
    private String customerPhone;
    private String customerAddress;
    private BigDecimal totalAmount;
    private String status;
    private String operator;
    private String remark;
    private LocalDateTime orderTime;
    private LocalDateTime createdTime;
    private LocalDateTime updatedTime;
    private List<OrderDetailDTO> orderDetails;
    
    // 新客户信息（用于订单创建时自动保存新客户）
    private CustomerDTO newCustomer;
} 